import React from 'react';

const Child = () => {

    // const click = () => console.log(123);
    const click =  (res) => console.log(123,res);


    return (
        <div>
            <button onClick={() =>click(456)}>点我看看</button>
        </div>
    );
}

export default Child;
